package d6_thread_pool;
/**
 * 2024/6/24 Runnable接口 Cjj 10:38
 */
public class MyRunnable implements  Runnable{

    @Override
    public void run() {
        //任务随时干嘛的
        System.out.println(Thread.currentThread().getName()+"输出7666");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}
